<?php

  
///    FICHIER DE CONFIG


// Autoloader des classes PHP
function classesAutoloader($class) {
    
    // nom de fichiers de classes en minuscules
    include "classes/".strtolower($class).'.class.php';
}
spl_autoload_register('classesAutoloader');


// URL de base
$urlRoot_SETTINGS = "http://apps.facebook.com/Quizego";

// Fichier config avec donnees sensible
include_once("secret.config.php");
// include_once("./Classes/Facebook.php");

// Données pour wrapper Facebook
$appId_SETTINGS = "349748141780073";
// $appSecret_SETTINGS (secret.config.php);
$postAuthUrl_SETTINGS = $urlRoot_SETTINGS."/index.php";
$permissionsArray_SETTINGS = array( "read_stream",
                                    "user_activities", "friends_activities",
				    "user_birthday", "friends_birthday",
				    "user_checkins", "friends_checkins",
				    "user_events", "friends_events",
				    "user_likes", "friends_likes",
				    "user_location", "friends_location",
				    "user_photos", "friends_photos",
				    "user_status", "friends_status",
				    "user_videos", "friends_videos");

// Données DB

?>